package com.itheima.springbootwebtlias;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

// 扫描包
@MapperScan("com.itheima.springbootwebtlias.mapper")
@ServletComponentScan // 启动时扫描Servlet注解
@SpringBootApplication // 启动类
public class SpringbootWebTliasApplication {


    public static void main(String[] args) {
        SpringApplication.run(SpringbootWebTliasApplication.class, args);
    }

}
